<!DOCTYPE html>
<html>
<head>[#include "/common/commonCSS.html"]
</head>
<body class="eh-layout-page">
	<div class="layui-card layui-form">
		<div class="layui-card-header eh-card-header">
			<span>字典类型管理</span> <i
				class="layui-icon layui-icon-refresh refresh-btn"></i>
		</div>
		<div class="layui-row layui-col-space10">
			<div class="layui-col-md6">
				<div class="layui-card-body">
					<div class="layui-row">
						<div class="layui-form-pane">
							<form id="dictTypeSearchForm">
								<div class="layui-inline">
									<label class="layui-form-label">类型名</label>
									<div class="layui-input-block" style="width: 150px">
										<input type="text" name="typeName" placeholder="请输入类型名"
											autocomplete="off" class="layui-input">
									</div>
								</div>
								<div class="layui-inline">
									<label class="layui-form-label">类型编码</label>
									<div class="layui-input-block" style="width: 150px">
										<input type="text" name="typeCode" placeholder="请输入类型编码"
											autocomplete="off" class="layui-input">
									</div>
								</div>
								<div class="layui-inline">
									<label class="layui-form-label">状态</label>
									<div class="layui-input-block" style="width: 150px">
										<select id="dictTypeStatusSelect" name="status">
											<option value="">请选择状态</option>
										</select>
									</div>
								</div>
								<div class="layui-inline">
									<button type="button" id="dictTypeSearch" class="layui-btn">
										<i class="layui-icon layui-icon-search"></i>
									</button>
								</div>
							</form>
						</div>
						<div class="layui-btn-container">
							<button class="layui-btn" id="dictTypeAdd">添加</button>
							<button class="layui-btn" id="initDictCache">初始化字典缓存</button>
						</div>
					</div>
					<div class="eh-table-wrap">
						<table class="layui-hide table-datagrid" id="dictType-t"
							lay-filter="dictType-t"></table>
					</div>
				</div>
			</div>
			<div class="layui-col-md6">
				<div class="layui-card-body">
					<div class="layui-row">
						<div class="layui-form-pane">
							<form id="dictValueSearchForm">
								<div class="layui-inline">
									<label class="layui-form-label">字典值</label>
									<div class="layui-input-block" style="width: 150px">
										<input type="text" name="valueName" placeholder="请输入字典值"
											autocomplete="off" class="layui-input">
									</div>
								</div>
								<div class="layui-inline">
									<label class="layui-form-label">值编码</label>
									<div class="layui-input-block" style="width: 150px">
										<input type="text" name="valueName" placeholder="请输入值编码"
											autocomplete="off" class="layui-input">
									</div>
								</div>
								<div class="layui-inline">
									<label class="layui-form-label">状态</label>
									<div class="layui-input-block" style="width: 150px">
										<select id="dictValueStatusSelect" name="status">
											<option value="">请选择状态</option>
										</select>
									</div>
								</div>
								<div class="layui-inline">
									<button type="button" class="layui-btn" id="dictValueSearch">
										<i class="layui-icon layui-icon-search"></i>
									</button>
								</div>
							</form>
						</div>
						<div class="layui-btn-container">
							<button class="layui-btn" id="dictValueAdd">添加</button>
						</div>
					</div>
					<div class="eh-table-wrap">
						<table class="layui-hide table-datagrid" id="dictValue-t"
							lay-filter="dictValue-t"></table>
					</div>
				</div>
			</div>
		</div>
	</div>

<script type="text/html" id="dictType-t-tool">
<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script type="text/html" id="dictValue-t-tool">
<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
	[#include "/common/commonJS.html"] [@common.jsRef
	url="/sys/dictType/index.js"/]
</body>
</html>